<?php

/*
  | --------------------------------------------------------------------------------------------------
  | <agenda_profissional_view>
  |
  | Desenvolvedor:	Eduardo Sirangelo
  | E-mail:		sirangelos@ibest.com.br
  | Descrição:
  |	-
  | Quality is Everyting
  | --------------------------------------------------------------------------------------------------
 */
?>
<script type="text/javascript">
    id_profissional = <?=$id_profissional?>
</script>
<style type="text/css">
    #ajax-loading {
        position: fixed;
	left: 42%;
	top: 2px;
	margin: 0;
	z-index: 100;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	-moz-border-radius: 0.278em;
	-webkit-border-radius: 0.278em;
	-webkit-background-clip: padding-box;
	border-radius: 0.278em;
        background: -moz-linear-gradient(center top , white, #72C6E4 4%, #0C5FA5) repeat scroll 0 0 transparent;
        border-color: #50A3C8 #297CB4 #083F6F;
        border-style: solid;
        border-width: 1px;
        color: white;
        font-family: "Trebuchet MS","Lucida Sans Unicode","Lucida Sans",Arial,Helvetica,sans-serif;
        font-size: 1.5em;
        padding: 0.278em 0.444em 0.389em;
        text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.2);
    }
</style>

<script src="<?=base_url()?>public/js/agendas/agenda_by_profissional.js"></script>

<section class="grid_12">
    
    <div id="ajax-loading">
        Carregando...
    </div>
    
    <div class="block-border"><div class="block-content">
            <div class="h1">
                    <h1>Agenda por profissional: <?=$nm_profissional?></h1>
                    <a href="#addAgendamento()" class="with-tip add-event agendar_by_profissional" label="<?=$nm_profissional?>" id="<?=$id_profissional?>" title="Agendar atendimento"><img src="<?=base_url()?>public/images/icons/fugue/plus-circle-blue.png" width="16" height="16" alt=""/> Novo Agendamento</a>
                    
            </div>
            
            <div class="block-controls">
                    <ul class="controls-buttons">
                            <li><a href="#" id="data_anterior" class="with-tip new_date" label="<?=$this->functions->data_extenso(10,($this->functions->addDaysToDate('-6')))?>" title="<?=$this->functions->data_extenso(9,($this->functions->addDaysToDate('-6')))?>"><img src="<?=base_url()?>public/images/icons/fugue/navigation-180.png" width="16" height="16"></a></li>
                            <li class="sep"></li>
                            <li class="controls-block"><strong id="data_mensal" label="<?=$this->functions->data_extenso(10)?>"><?=$this->functions->data_extenso(9);?></strong></li>
                            <li class="sep"></li>
                            <li><a href="#" id="data_posterior" class="with-tip new_date" label="<?=$this->functions->data_extenso(10,($this->functions->addDaysToDate('8')))?>" title="<?=$this->functions->data_extenso(9,($this->functions->addDaysToDate('8')))?>"><img src="<?=base_url()?>public/images/icons/fugue/navigation.png" width="16" height="16"></a></li>
                    </ul>
            </div>
            
            <ul class="week-calendar no-margin" id="corpo_agenda">
                
            </ul>
        
        </div>
    
    </div>
    
</section>